package com.csi.domain;

import lombok.Data;

import java.math.BigDecimal;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;

@Schema(description = "酒店表")
@Data
public class Hotel {

    @Schema(description = "酒店id", required = true)
    private long id; //酒店id

    @Schema(description = "酒店名称", required = true)
    private String hotelName; //酒店名称

    @Schema(description = "酒店住址", required = true)
    private String hotelAddress; //酒店住址

    @Schema(description = "酒店联系人", required = true)
    private String hotelContext; //酒店联系人

    @Schema(description = "酒店联系电话", required = true)
    private String hotelPhone; //酒店联系电话

    @Schema(description = "酒店评分", required = true, example = "4.5")
    private BigDecimal hotelScore; //酒店评分

    @Schema(description = "酒店介绍", required = false)
    private String hotelDesc; //酒店介绍

    @Schema(description = "酒店图片地址", required = false)
    private String hotelImg; //酒店图片地址

    @Schema(description = "销售id", required = true)
    private long userId; //销售id

    @Schema(description = "酒店位置信息", required = false)
    private HotelLocation hotelLocation; //酒店位置信息

}

